package dlg.code.bridge;

/**
 * 桥接模式
 * 多维度灵活组合
 */
public abstract class Computer {
    protected String name;
    protected Brand brand;

    public Computer(String name, Brand brand) {
        this.name = name;
        this.brand = brand;
    }

    abstract void print();
}
